package com.hutao.medical.pojo.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class MedBorrowDto extends PageParam {

	private String name;

	private String mrId;

	private String onlyId;

	private String idCard;

	private Integer outOfficeId;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date outHospitalStartTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date outHospitalEndTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date borrowStartTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date borrowEndTime;

	private Integer checkStatus=2;

	private Integer functionType;

	// 借阅天数
	private Integer borrowDays = 15;

	// 申请人姓名
	private String applyName;

	public Integer getBorrowDays() {
		return borrowDays;
	}

	public void setBorrowDays(Integer borrowDays) {
		this.borrowDays = borrowDays;
	}

	public String getApplyName() {
		return applyName;
	}

	public void setApplyName(String applyName) {
		this.applyName = applyName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMrId() {
		return mrId;
	}

	public void setMrId(String mrId) {
		this.mrId = mrId;
	}

	public String getOnlyId() {
		return onlyId;
	}

	public void setOnlyId(String onlyId) {
		this.onlyId = onlyId;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Date getOutHospitalStartTime() {
		return outHospitalStartTime;
	}

	public void setOutHospitalStartTime(Date outHospitalStartTime) {
		this.outHospitalStartTime = outHospitalStartTime;
	}

	public Date getOutHospitalEndTime() {
		return outHospitalEndTime;
	}

	public void setOutHospitalEndTime(Date outHospitalEndTime) {
		this.outHospitalEndTime = outHospitalEndTime;
	}

	public Date getBorrowStartTime() {
		return borrowStartTime;
	}

	public void setBorrowStartTime(Date borrowStartTime) {
		this.borrowStartTime = borrowStartTime;
	}

	public Date getBorrowEndTime() {
		return borrowEndTime;
	}

	public void setBorrowEndTime(Date borrowEndTime) {
		this.borrowEndTime = borrowEndTime;
	}

	public Integer getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(Integer checkStatus) {
		this.checkStatus = checkStatus;
	}

	public Integer getFunctionType() {
		return functionType;
	}

	public void setFunctionType(Integer functionType) {
		this.functionType = functionType;
	}

	public Integer getOutOfficeId() {
		return outOfficeId;
	}

	public void setOutOfficeId(Integer outOfficeId) {
		this.outOfficeId = outOfficeId;
	}

}
